<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>分类页面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="__INDEX__/css/mui.min.css">
    <link rel="stylesheet" href="__INDEX__/css/footer.css">
    <style>
        #pad8 {
            padding: 5px 15px;
        }
    </style>
</head>

<body>
<div class="mui-content">
    <ul class="mui-table-view">
        {php}
            $arr = ['classify_img1.png', 'classify_img2.png', 'classify_img3.png', 'classify_img4.png', 'classify_img5.png'];
        {/php}
        {foreach $types as $key => $type}
        <li class="mui-table-view-cell" id="pad8" onclick="window.location.href = '{:url('/lType',['id' => $type->type_id])}'">
        <div class="mui-slider-cell" style="padding: 5px">
                <div class="oa-contact-cell mui-table">
                    <img src="__INDEX__/images/{$arr[$key]}" width="100%"/>
                </div>
            </div>
        </li>
        {/foreach}
    </ul>
</div>

{include file="common/foot"}

</body>
</html>